﻿<%@ page language="C#" autoeventwireup="true" inherits="Admin_ToCartOk, App_Web_tocartok.aspx.fdf7a39c" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>    <link href="../css/Admin_Css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" >
    
    function CheckAll(form)
{
       for (var i=0;i<form.elements.length;i++)
       {
              var e = form.elements[i];
              
             
if(e.checked)
{
 e.checked = false
}
else
{
                     e.checked = true
 
 }
       }
}
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <br />
        <br />
        &nbsp;<asp:Panel ID="Panel1" runat="server" Height="50px" Visible="False" Width="100%">
        <asp:GridView ID="GridViewOk" runat="server" AutoGenerateColumns="False" Width="100%" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None">
            <Columns>
                <asp:TemplateField HeaderText="登录名">
                    <ItemTemplate>
                        <a href='Admin_UserShow.aspx?id=<%#Eval("Id")%>'>
                            <%#Eval("LoginName")%>
                        </a>
                   
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="审核结果">
                    <ItemTemplate>
                        <%# Convert.ToBoolean(Eval("AccountNo").ToString()=="") ? "<span style='color:red'>审核失败</span>" : "<span style='color:blue'>审核成功，账号：</span>"+Eval("AccountNo").ToString()%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField HeaderText="姓名" DataField="TrueName" />
                <asp:BoundField HeaderText="电话" DataField="Tel" />
                <asp:TemplateField HeaderText="状态">
                    <ItemTemplate>
                        <%#  Convert.ToBoolean(Eval("UserState"))?"正常":"<span style='color:red'>被锁定</span>" %>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <RowStyle ForeColor="Black" CssClass="showlist1" />
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="Navy" Font-Bold="True" ForeColor="#E7E7FF" />
            <AlternatingRowStyle CssClass="showlist2" />
        </asp:GridView>
        </asp:Panel>
        &nbsp;&nbsp;<br />
        <br />
        <asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px">
            出错！</asp:Panel>
        <br />
        <br />
        <br />
        <asp:Panel ID="Panel3" runat="server" Height="50px" Width="125px">
            没有选择用户！请选择</asp:Panel>
        <br />
        <asp:HyperLink ID="HyperLink1" runat="server">HyperLink</asp:HyperLink>&nbsp;<br />
      &nbsp;&nbsp;&nbsp;&nbsp;
        </div>
    </form>
</body>
</html>
